package com.yand.disk.demo.service;

import com.github.pagehelper.PageInfo;
import com.yand.disk.demo.entity.TDownLink;
import com.yand.disk.demo.entity.TFileInfo;
import com.yand.disk.demo.entity.dto.FileLinkDto;

import java.security.NoSuchAlgorithmException;

public interface FileInfoService {


    /**
     * 查询文件列表
     * @param fileInfo
     * @return
     */
    PageInfo<TFileInfo> queryFileList(TFileInfo fileInfo);


    TDownLink createFileLink(FileLinkDto fileLinkDto) throws NoSuchAlgorithmException;

}
